<template>
  <div id="container">
    <Tou />
    <router-view class="main" />
    <Footer />
  </div>
</template>

<script>
import Tou from "@/components/paihang/tou.vue";
import Footer from "@/components/footer.vue";
export default {
  created() {
      this.$store.dispatch("getPaihang", { url: "/data/paihang" });
  },
  components: {
    Tou,Footer
  },
};
</script>

<style scoped>
.main{
  flex: 1;
  overflow: auto;
}
</style>
